//package com.waste.game.controller;
//
//import com.waste.game.entity.GameListBean;
//import com.waste.game.mapper.GameListMapper;
//import com.waste.game.mapper.WebServeMapper;
//import com.waste.game.service.GameListService;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//import org.springframework.ui.Model;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.RequestMapping;
//
//import java.util.List;
//
//@Slf4j
//@Controller
//@RequestMapping("/gameart")
//public class GameArtController {
//
//    @Autowired
//    WebServeMapper webServeMapper;
//
//    @Autowired
//    GameListService gameListService;
//
//    @GetMapping("/{id}")
//    public String showArtOne(@PathVariable(value = "id") Integer id , Model model){
//
//        GameListBean gameListBean = gameListService.getGameArt(id);
//        Integer look = webServeMapper.selectLOOK(id)+1;
//        webServeMapper.lookUp(look,id);
////        List<GameListBean> gameListBeans = gameListService.getImgList(id);
//        model.addAttribute("artList",gameListBean);
////        model.addAttribute("imglist",gameListBeans);
////        log.info("art:{}",gameListBean);
//        return "clint/gameart";
//    }
//
//
//}
